import http from '../../utils/httpsz.js'
/**
 * 请求名称 用请求地址的最后一个‘/’后面的单词命
 * 调用  import {getAPI,postAPI,putAPI,deleteAPI} from '@/api/TestSz.js/'
 *
 * 请求 then 返回正确  err 错误返回
 *   getAPI()
 *                 .then(res=>{
 *                     console.log(res)
 *                 })
 *                 .catch(err=>{
 *
 *                 })
 */

export function getCategory(params){
    return http.get(`/cfg/getCategory`,params)
}
export function list(params){
    return http.get(`/feemanage/execute/list`,params)
}
export function unitlist(params){
    return http.get(`/feemanage/execute/unitlist`,params)
}
export function projectlist(params){
    return http.get(`/feemanage/execute/projectlist`,params)
}
export function budgetlist(params){
    return http.get(`/feemanage/execute/budgetlist`,params)
}
export function exports(params){
    return http.downPost(`/feemanage/execute/export`,params)
}
export function exportunit(params){
    return http.downPost(`/feemanage/execute/exportunit`,params)
}
export function exportpro(params){
    return http.downPost(`/feemanage/execute/exportpro`,params)
}
